package com.lenovo.manufacture.net;


import java.util.List;
import java.util.Map;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface PostRequest {
    String url = "http://39.96.26.90:8086/Interface/";

    @POST("UserFactory/getInfo")
    Call<Requests> FactoryInfo(@Body Map<String, Object> map);

    @POST("UserFactory/updateLightSwitch")
    Call<Requests> setLighting(@Body Map<String, Object> map);

    @POST("UserFactory/updateAcSwitch")
    Call<Requests> setAcSwitch(@Body Map<String, Object> map);

    @POST("Person/getAll")
    Call<Requests> getHrm();

    @POST("UserLine/search")
    Call<Requests> getpos(@Body Map<String, Object> map);

    @POST("UserPosition/search")
    Call<Requests> getposition(@Body Map<String, Object> map);

    @POST("index/addUserPosition")
    Call<Requests> addposition(@Body Map<String, Object> map);

    @POST("index/getMaterial")
    Call<Requests> getmaterial();

    @POST("index/addUserMaterialStore")
    Call<Requests> addmaterial(@Body Map<String, Object> map);

    @POST("CarType/getAll")
    Call<Requests> getcartype();

    @POST("UserQuality/getAll")
    Call<Requests> getUserQuality();

    @POST("UserCarStore/getAll")
    Call<Requests> getAllcar();

    @POST("UserSellOutLog/getAll")
    Call<Requests> getSellOutLog();

    @POST("UserAppointment/getAll")
    Call<Requests>getAppointment();

    @POST("UserAppointment/create")
    Call<Requests> UserAppointment(@Body Map<String, Object> map);

    @POST("UserLine/query")
    Call<Requests> getLine(@Body Map<String, Object> map);
}
